package v1alpha1

const (
	Version   = "v1alpha1"
	GroupName = "phant.io"

	PostgresClusterName    = "postgresclusters"
	PostgresClusterKind    = "PostgresCluster"
	PostgresClusterKindKey = "postgrescluster"

	SpecPath = "phant-operator/pkg/apis/phant/v1alpha1."
)

type CrdKind struct {
	Kind       string
	Plural     string
	SpecName   string
	ShortNames []string
	//AdditionalPrinterColums []extensionsobj.CustomResourceColumnDefinition
}

type CrdKinds struct {
	KindsString     string
	PostgresCluster CrdKind
	Backup          CrdKind
}

var DefaultCrdKinds = CrdKinds{
	KindsString: "",
	PostgresCluster: CrdKind{
		Plural:     PostgresClusterName,
		Kind:       PostgresClusterKind,
		ShortNames: []string{"pg"}, SpecName: SpecPath + PostgresClusterKind},
}
